package Model

import (
	"time"
)

// 共同信息
type UniInformation struct {
	Id                 string `json:"id" form:"id"`                                   //员工编号
	ForeignLanguage    string `json:"foreign_language" form:"foreign_language"`       //外语语种
	FamilyRelationship string `json:"family_relationship" form:"family_relationship"` //家庭成员与本人关系
	FamilyName         string `json:"family_name" form:"family_name"`                 //家庭成员姓名
	Unit               string `json:"unit" form:"unit"`
}

/*员工信息中心*/
type OtherInformation struct {
	UniInformation
	OccupationStart time.Time `json:"occupation_start" form:"occupation_start"` //工作开始日期
	OccupationEnd   time.Time `json:"occupation_end" form:"occupation_end"`     //工作结束日期
}

type APIOtherInformation struct {
	Name string `json:"name" form:"name"`
	UniInformation
	OccupationStart string `json:"occupation_start" form:"occupation_start"` //工作开始日期
	OccupationEnd   string `json:"occupation_end" form:"occupation_end"`     //工作结束日期
}
